package com.zsrt.java.day20161226.wrl.day161226.demo04;

public class Demo04 {
	public static void main(String[] args) {
		funSum(10,20);
	}
	
	public static void funSum(int min,int max){
		int sum =0;
		for(int begin = min; begin <= max; begin++){
			sum = sum + begin;
		}
		System.out.println(sum);
	}

}
